using System.Data.SQLite;
using Model;

namespace DAL {
    public class OrderDeskDAL {
        public void Insert(OrderDesk orderDesk) {
            SqlHelper.Update(new SQLiteCommand("insert into Order_Desk(OrderId,DeskId) values(@OrderId,@DeskId)") {
                Parameters = {
                    new SQLiteParameter("@OrderId", orderDesk.OrderId),
                    new SQLiteParameter("@DeskId", orderDesk.DeskId)
                }
            });
        }
    }
}